<?
	$params[sid] = $sid;
	$params[action] = "editMenu";
	$url = "$baseURL/$webDIR/?".encode_params($params);
	$data = get_interface_settings($id);
        if(is_array($data))
                while(list($k,$v) = each($data)){
                        $$k = $v;
                }
	if($errorMsg) echo "<center>$errorMsg<center>";
	$errorMsg = "";
?>
<TABLE border=1 class='bTable' cellspacing='0' width='750'>
<form action='<?=$url;?>' method='POST'>
	<TR>
		<TH>Menu</TH>
	</TR>
	<TR>
		<TD>
			<table width='100%'>
				<tr>
					<td>Menu item 1 </td>
					<td><input type='text' name='menuItem1' value='<?=$menuItem1;?>'></td>
					<td>Link : <input type='text' name='menuItemLink1' value='<?=$menuItemLink1;?>'></td>
				</tr>
				<tr>
					<td>Menu item 2 </td>
					<td><input type='text' name='menuItem2' value='<?=$menuItem2;?>'></td>
					<td>Link : <input type='text' name='menuItemLink2' value='<?=$menuItemLink2;?>'></td>
				</tr>
				<tr>
					<td>Menu item 3 </td>
					<td><input type='text' name='menuItem3' value='<?=$menuItem3;?>'></td>
					<td>Link : <input type='text'  name='menuItemLink3' value='<?=$menuItemLink3;?>'></td>
				</tr>
			</table>
		</TD>
	</TR>
	<TR>
		<TD  align='center'>
			<input type='submit' value='Submit'>
		</TD>
	</TR>
</form>
</TABLE>